package com.study.sbsummary.dao;

import com.study.sbsummary.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//  mybatis实现
@Mapper
public interface UserDao {
    int insert(User user);

    int delete(Long id);

    int update(User user);

    List<User> selectAll();

    User selectById(Long id);
}